Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 20 - QuickDraw 3D Mathematical Utilities / QuickDraw 3D Mathematical Utilities Reference
QuickDraw 3D Mathematical Utilities / Setting Points and Vectors


Q3Point3D_Set

You can use the Q3Point3D_Set function to set the coordinates of a three-dimensional point.

TQ3Point3D *Q3Point3D_Set (
TQ3Point3D *point3D, 
float x, 
float y, 
float z);
point3D
A three-dimensional point.
x
The x coordinate of the point.
y
The y coordinate of the point.
z
The z coordinate of the point.
DESCRIPTION
The Q3Point3D_Set function returns, as its function result and in the point3D parameter, the three-dimensional point specified by the x, y, and z parameters.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996